package com.cskaoyan.wx.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class CouponCount {
    private Integer id;

    private String name;

    private String desc;

    private String tag;

    private Integer total;

    private Double discount;

    private Double min;

    private Integer limit;

    private Integer type;

    private Integer status;

    private Integer goodsType;

    private Integer[] goodsValue;

    private String code;

    private Integer time_type;


    private Integer days;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date start_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date end_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date add_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date update_time;

    private Boolean deleted;

}
